package org.bim.view.drag.design.api.req;

import org.bim.view.drag.design.entity.TVisual;
import lombok.Getter;
import lombok.Setter;

/**
 * @author
 * @date 2021/12/17 9:34 上午
 */
@Getter
@Setter
public class VisualReq extends PageReq {
    private String id;
    private String category;
    private Integer status;
    private String title;

    public TVisual toEntity () {
        TVisual entity = new TVisual();
        entity.setId(id);
        entity.setTitle(title);
        entity.setStatus(status);
        entity.setCategory(category);
        return entity;
    }
}
